<template>
    <u-navbar leftIcon="" title="首页" :titleStyle="{fontSize: '36rpx'}" placeholder/>
    <view style="height: 70vh;line-height: 70vh;text-align: center;font-weight: bold;">
        uniapp + vue3 + vite + pinia
    </view>
    <!--    <image src="/static/images/logo.png"></image>-->
    <!--    <c-loading></c-loading>-->
</template>

<script setup>
import {ref, onMounted} from "vue";
import {onLoad} from "@dcloudio/uni-app";
import {myStore} from "@/stores";
import dayjs from "dayjs";

const test = ref(1)
const store = myStore()

onLoad(() => {
    console.log("加载完成")
    console.log(TOKEN)
    console.log(store.getUserInfo())

    console.log(dayjs().format('YYYY-MM-DD'));
})

onMounted(() => {
    console.log(test.value)
    console.log("挂载完成")
})

</script>

<style lang="scss" scoped>

</style>
